﻿namespace Bean.Entity.Constant;

/// <summary>
/// </summary>
public static class PolicyConstant
{
    /// <summary>
    /// 政策产品队列
    /// </summary>
    /// <param name="productCode">产品关键字</param>
    /// <returns></returns>
    public static string PolicyCodeQueue(string productCode) => $"Policy:{productCode}";

    /// <summary>
    /// 政策规则删除队列
    /// </summary>
    /// <param name="version">21/平台政策计划 22/私有政策计划</param>
    /// <returns></returns>
    public static string PolicyDeleteRuleQueue(string version)
    {
        return $"Policy:Delete:Rule:{version}";
    }
}